package io.terminus.spzx.model.entity.order;

import io.swagger.v3.oas.annotations.media.Schema;
import io.terminus.spzx.model.entity.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author lichunlong lcl253137@alibaba-inc.com
 * @Desc 订单统计Entity实体类
 * @Date 2024-03-10
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OrderStatistics extends BaseEntity {

    @Schema(description = "订单日期")
    private Date orderDate;

    @Schema(description = "总金额")
    private BigDecimal totalAmount;

    @Schema(description = "总数量")
    private Integer totalNum;

}